]> dgit.raspbian.org Git - gnome-shell.git/commit
appDisplay: Stop watching FolderIcon parent view when destroyed
authorRay Strode <rstrode@redhat.com>
Thu, 18 Jul 2019 18:49:30 +0000 (14:49 -0400)
committerRay Strode <halfline@gmail.com>
Tue, 23 Jul 2019 14:53:24 +0000 (14:53 +0000)
commit49260a85ad9d99e35b4c85547928d3bc5bec489e
treeea4bc37c5ebb5b1835909afcf638f26af3c3613e
parentda9f37e6295200ef893131f4e8c20cb90bb6833c
appDisplay: Stop watching FolderIcon parent view when destroyed

When a FolderIcon is opened, it asks the parent view to allocate
space for it, which takes time.  Eventually, the space-ready
signal is emitted on the view and the icon can make use of the new
space with its popup.  If the icon gets destroyed in the
interim, though, space-ready signal handler still fires.

This commit disconnects the signal handler so it doesn't get called
on a destroyed icon.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/628
js/ui/appDisplay.js